
//- This source code is licensed under the terms of the
//- GNU Affero General Public License found in the LICENSE file in
//- the root directory of this source tree.
//-
//- Copyright (c) 2021-present Kaleidos INC

.row.single-related-task.related-task-create-form.active(ng-if="openNewRelatedTask")
    .task-name
        form(style='width:100%')
            input(type='text', tg-autofocus, placeholder="{{'TASK.PLACEHOLDER_SUBJECT' | translate}}")
    .task-settings
        a.save-task(ng-click="save()" title="{{'COMMON.SAVE' | translate}}")
            tg-svg(svg-icon="icon-save")

    .status(tg-related-task-status='newTask', ng-model='newTask', not-auto-save='true')
         a.task-status(href='', title="{{'TASK.TITLE_SELECT_STATUS' | translate}}")
            span.task-status-bind
            tg-svg(svg-icon="icon-arrow-down")

    .assigned-to(tg-related-task-assigned-to-inline-edition='newTask', not-auto-save='true')
        .task-assignedto(title="{{'COMMON.FIELDS.ASSIGNED_TO' | translate}}")
            figure.avatar
            tg-svg(svg-icon="icon-arrow-down")
